﻿<?php 
@session_start();
if (!isset($_SESSION["taikhoan"]))
	{
		header("Location: cnk-dangnhap.php");
	}
include 'connect.php'; 
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Xem Kết Quả Đánh Giá</title>
<style type="text/css">
<!--
a	{
		color: #006600;
		text-decoration: none;
	}
.mau{background:#FFCC99;}
image{border:none;}

a:hover { COLOR: #CC0000}

.style1 {
	color: #FFFFFF;
	font-weight: bold;
	font-size: 30px;
}
.style2 {
	font-size: 18px;
	font-weight: bold;
	color: #FFFFFF;
  
}
.style3 {
	color: #FFFFFF;
	font-size:14px;
  
}
.style4 {color: #006600; font-weight: bold; font-size: 18px; }
.style5 {color:#0000000; font-weight: bold; font-size: 18px; }
.style6 {
	font-size: 22px;
	font-weight: bold;
	color: #000099;
}
.style7{
	font-size: 20px;
	font-weight: bold;
}
.mo	{	color:#0000FF;	}
.cham { border-bottom-color:#666666;
		border-bottom-style:dotted;
		border-bottom-width:thin;	}
.style8 {
	font-size: 20px;
	color: #000099;
	font-weight:bold;
}
-->
</style>
</head>

<body>
<?php 
       $cnk=$_SESSION['cnk']; 
        $sql=mysql_query("select * from khoa where username='$cnk'");
		$r=mysql_fetch_row($sql);
		$tenkhoa=$r[1];
		$makhoa=$r[0];
?>
<table width="900" height="600" border="0" bordercolorlight="#CCCCCC" align="center" cellpadding="0" cellspacing="0" style="border:1px solid #CCCCCC">

<!-- đầu trang --> 	
    <tr> <td width="900" height="70" background="image/header.gif">
    	
        <table width="100%" height="100%" border="0"> 
             <tr>
       		
				    <td width="10%" rowspan="2"><img src="image/logo.gif" width="100%" height="70" /></td>
					
					<td width="60%" rowspan="2" height="70" align="center" style="font-size:24px"><div align="center">
					  <blockquote>
						<p><span class="style1">Website ĐÁNH GIÁ HỌC PHẦN</span></p>
					  </blockquote>
				  </div></td>
        
            </tr> 
			
			<tr>
				<td width="32%" valign="bottom" colspan="2" align="left"> <table>
					  <tr><td valign="bottom" style="font-weight:bold">
					  <div align="center" class="style3">
						<a class="style3"  href="helpkhoa.htm" target="_blank">Hướng dẫn</a> | <a class="style3" href="cnk-trangchu.php">Trang chủ</a> | <a class="style3" href="logout.php">Thoát</a></div></td></tr>
					  <tr><td valign="bottom" style="font-weight:bold">
					  <div align="center" class="style3">Xin chào! Khoa <?php echo $tenkhoa; ?></div></td></tr> 
				       </table>
			    </td> 
			</tr>
			
	    </table>
    
    </td> </tr>
<!--menu ngang -->
   <tr bordercolor="#999999" height="10" valign="top">
             <td valign="top" >
							<style> 
							#navbar { margin: 0; padding: 0; height: 1.5em;} 
							#navbar li { list-style: none; float: left; font-size:18px; font-weight:bold;} 
							#navbar li a { display: block; padding: 3px 8px; background:url(image/bg_header.gif); color: #fff; text-decoration: none;width:11.58em; text-align:center;} 
							#navbar li ul { display: none; width:8em; background:url(image/bg_header.gif);} 
							#navbar li:hover ul, #navbar li.hover ul { display: block; position: absolute; margin: 0; padding: 0; } 
							#navbar li:hover li, #navbar li.hover li { float: none; } 
							#navbar li:hover li a, #navbar li.hover li a { color:white;} 
							#navbar li a:hover { background:url(image/header.gif); } 
							</style> 
							
							 
							<ul id="navbar">
								<li><a href="cnk-tcxem.php?nav=lophp">Từng Lớp Học Phần</a></li>
								<li><a href="cnk-tcxem.php?nav=hp">Từng Học Phần</a></li>
								<li><a href="cnk-tcxem.php?nav=gv">Từng Giảng Viên</a></li>
								<li><a href="cnk-tcxem.php?nav=bm">Từng Bộ Môn</a></li>
							</ul>


			 </td>
   </tr>

<!-- thân trang -->  	
    <tr height="450"> 
	      <td valign="top" bordercolor="#FFFFFF" align="center">
    	                  <?php
						           $nav = $_GET['nav'];
								   if ($nav=="lophp") include "cnk-xemlophp.php";
								   else if($nav=="hp") include "cnk-xemhp.php";
								   else if($nav=="gv")  include "cnk-xemgv.php";
								   else if($nav=="bm")  include "cnk-xembm.php";
								   else if($nav=="kqlophp")  include "cnk-kqlophp.php"; 
								   else if($nav=="kqhp")  include "cnk-kqhp.php";
								   else if($nav=="kqtatcahp") include "cnk-kqtatcahp.php";
								   else if($nav=="kqgv") include "cnk-kqgv.php";
								   else if($nav=="kqbm") include "cnk-kqbm.php";
								   else if($nav=="kqbmtc") include "cnk-kqbmtc.php";
								  
						  ?>
         </td>
	 </tr>
	 <tr><td height="20">&nbsp;</td></tr>

<!-- cuối trang -->  
	<tr> 
	      <td height="28" background="image/footer.gif" class="style3" align="center" >
	     </td>
    </tr>
<!-- het cuoi trang-->

</table>

</body>
</html>


